package com.flash.mongodb.mapper;

import com.flash.mongodb.domain.RecordLog;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;

import java.util.List;

/**
* @description: TODO
* @author admin
* @date 2023/1/1810:13
* @version 1.0
*/
@Component
public interface RecordLogDao extends MongoRepository<RecordLog,String> {

    void deleteAllByRecordtimeBefore(String endDate);
}
